package org.baicaix.game.warworms.weapon {
	import flash.display.Sprite;

	/**
	 * @author baicaix
	 */
	public class ShotSpeedBar extends Sprite {
		
		private var _speed : uint;

		public function ShotSpeedBar() {
			this.graphics.beginFill(0xaa9900);
			this.graphics.drawRect(0, 0, 1, 5);
			this.graphics.endFill();
			_speed = 0;
		}
		
		public function get speed() : uint {
			return _speed;
		}
		
		public function set speed(speed : uint ) : void {
			_speed = speed;
			this.scaleX = _speed;
		}
	}
}
